Bump pillow from 12.1.1 to 12.2.0 in /images/mkdocs#17
Conversation
Bumps [pillow](https://github.com/python-pillow/Pillow) from 12.1.1 to 12.2.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@12.1.1...12.2.0) --- updated-dependencies: - dependency-name: pillow dependency-version: 12.2.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (2 files)
This is a straightforward dependency update bumping pillow from 12.1.1 to 12.2.0. The changes are minimal and appropriate:
The upgrade appears safe - it's a minor version bump that includes upstream fixes and dependency updates as documented in the Pillow release notes. No code changes are involved. Reviewed by minimax-m2.5-20260211 · 97,952 tokens |
There was a problem hiding this comment.
AI Code Review by LlamaPReview
🎯 TL;DR & Recommendation
Recommendation: Approve with suggestions.
This PR updates Pillow from 12.1.1 to 12.2.0, a routine maintenance change that pulls in upstream security fixes and dependency updates with low regression risk.
🌟 Strengths
- Adheres to best practices by keeping dependencies up-to-date for security and stability.
- Includes beneficial updates such as CVE fixes and memory allocation checks from Pillow's release notes.
💡 Suggestions (P2)
- images/mkdocs/pyproject.toml: Updates Pillow dependency to 12.2.0, ensuring access to latest bug fixes and security patches.
- images/mkdocs/pyproject.toml: Potential version conflict with
mkdocs-material[imaging]could affect future dependency resolution and cause unexpected behavior during updates.
💡 Have feedback? We'd love to hear it in our GitHub Discussions.
✨ This review was generated by LlamaPReview Advanced, which is free for all open-source projects. Learn more.
| @@ -16,7 +16,7 @@ dependencies = [ | |||
| "mkdocs-minify-html-plugin>=0.3.9", | |||
There was a problem hiding this comment.
[Contextual Comment]
This comment refers to code near real line 15. Anchored to nearest_changed(16) line 16.
P2 | Confidence: High
- This is a straightforward dependency update. The change aligns with standard maintenance practices to benefit from upstream bug fixes, security patches, and performance improvements listed in Pillow 12.2.0 release notes (e.g., CVE fixes, memory allocation checks, and library updates for libjpeg-turbo, libpng). Without specific code usage in the provided
related_context(which showed no direct PIL imports), the primary impact is on the build environment and any downstream image processing tasks performed bymkdocs-material[imaging]or other dependencies. The risk of regression appears low for a minor version bump within the same major release series. - Speculative: The
mkdocs-material[imaging]extra likely has a dependency on Pillow. This PR updates Pillow directly, but there is a risk of a version conflict ifmkdocs-material[imaging]pins to a different, incompatible version of Pillow. While the updateduv.lockfile suggests the resolver found a compatible set, a direct version constraint inmkdocs-material's dependencies could cause future conflicts or unexpected behavior during resolution, especially during future updates ofmkdocs-material. This is a common risk with managing transitive dependencies.
Bumps pillow from 12.1.1 to 12.2.0.
Release notes
Sourced from pillow's releases.
... (truncated)
Commits
3c41c0912.2.0 version bumpcdaa29eCheck calloc return value (#9527)585b2f5Check calloc return valueecf011eCheck all allocs in the Arrow tree (#9488)cf6de8cReject non-numeric elements inside list coords (#9526)ffdcedeUpdate 12.2.0 release notes (#9522)7929d77Added security release notes (#149)c4f7aa5Added security release notes22cdb5fMove variable declaration inside define (#9525)fc15b3bResize tall images vertically first (#9524)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Upgrades
pillowfrom 12.1.1 to 12.2.0 in/images/mkdocsto pull in upstream fixes and dependency updates. Updatespyproject.tomlanduv.lockto lock the new version.Written for commit b966909. Summary will update on new commits.